cmake_minimum_required(VERSION 3.7.2)
project(gestrecn)
set(CMAKE_CXX_STANDARD 11)

add_library(gestrec include/gestrec.h source/gestrec.cpp)
add_executable(gestrec_srv source/gestrec_srv.cpp include/service_api.h)
link_directories(../common/)
find_package(OpenCV REQUIRED)
target_link_libraries(gestrec ${OpenCV_LIBS} camsrv_comm)
target_link_libraries(gestrec_srv gestrec ${OpenCV_LIBS})